/* ============================================
   ROOT VARIABLES - Футбольна тематика
   ============================================ */
:root {
    /* Main Brand Colors */
    --primary-green: #045418;
    --primary-green-dark: #023310;
    --primary-green-light: #067d24;
    --primary-green-lighter: #0a9d2e;
    --accent-green: #10b83f;

    /* Supporting Colors */
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Gradient */
    --gradient-green: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-lighter) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(4, 84, 24, 0.95) 0%, rgba(2, 51, 16, 0.98) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(4, 84, 24, 0.7) 0%, rgba(2, 51, 16, 0.85) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(4, 84, 24, 0.08);
    --shadow-md: 0 4px 16px rgba(4, 84, 24, 0.12);
    --shadow-lg: 0 8px 32px rgba(4, 84, 24, 0.16);
    --shadow-xl: 0 16px 48px rgba(4, 84, 24, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-normal);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    color: var(--primary-green);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.875rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Staggered animations */
.stagger-animation>* {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-animation>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animation>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animation>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-animation>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-animation>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-animation>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-green);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: var(--gray-600);
}

.text-dark {
    color: var(--gray-900);
}

.bg-primary {
    background-color: var(--primary-green);
}

.bg-white {
    background-color: var(--white);
}

.bg-gray {
    background-color: var(--gray-100);
}

.bg-dark {
    background-color: var(--gray-900);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* ============================================
   DECORATIVE ELEMENTS - Футбольна тематика
   ============================================ */
.football-pattern {
    position: relative;
    overflow: hidden;
}

.football-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(4, 84, 24, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(4, 84, 24, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.pitch-lines {
    position: relative;
}

.pitch-lines::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-green) 50%, transparent 100%);
    opacity: 0.2;
}

/* Football-themed decorative animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* Badge/Icon styling */
.icon-badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-green);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.card:hover .icon-badge {
    transform: rotate(10deg) scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
        --section-padding: 80px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 540px;
        --section-padding: var(--section-padding-mobile);
    }

    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .grid {
        gap: 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 28px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    :root {
        --container-width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   PRELOADER / LOADING STATES
   ============================================ */
.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 4px;
    position: relative;
    transition: color var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-green);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
        height: calc(100vh - 82px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 24px;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 12px 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 40px;
    }

    .navbar {
        padding: 12px 0;
    }
}

/* Main Content Offset */
main {
    margin-top: 82px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    margin-top: auto;
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--gray-300);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contacts li {
    display: flex;
    gap: 12px;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-contacts svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-green);
}

.footer-contacts a {
    color: var(--gray-400);
    transition: color var(--transition-normal);
}

.footer-contacts a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom a {
    color: var(--gray-400);
    transition: color var(--transition-normal);
}

.footer-bottom a:hover {
    color: var(--primary-green);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-500);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col:first-child {
        grid-column: 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    background: var(--white);
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(4, 84, 24, 0.1);
}

.form-control.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 6px;
    display: block;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-green);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-900);
    user-select: none;
    transition: all var(--transition-normal);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    color: var(--white);
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Video Section */
.video-section {
    padding: 80px 0;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--black);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* Coaches Preview */
.coaches-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.coaches-preview-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.coaches-preview-text .btn {
    margin-top: 24px;
}

.image-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.image-grid-2 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal);
}

.image-grid-2 img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .coaches-preview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    text-align: center;
    padding: 40px 24px;
}

.program-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    border-radius: 50%;
    margin: 0 auto 24px;
    color: var(--white);
    transition: all var(--transition-normal);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(10deg);
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    margin: 0;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 32px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1.125rem;
}

.testimonial-role {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 12px;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.stat-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Showcase Section */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.showcase-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-item {
        height: 300px;
    }
}

/* CTA Section */
.cta-section {
    background: var(--gradient-green);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
}

.cta-content .btn-white {
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
}

/* ============================================
   PAGE HERO (для внутрішніх сторінок)
   ============================================ */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.page-hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.page-hero-content p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */
.services-list {
    padding: 80px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding-bottom: 100px;
    border-bottom: 2px solid var(--gray-200);
}

.service-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-item-reverse {
    direction: rtl;
}

.service-item-reverse>* {
    direction: ltr;
}

.service-content {
    display: flex;
    gap: 24px;
}

.service-badge {
    flex-shrink: 0;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.service-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.service-price {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-green-lighter);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.service-description {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-includes {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.service-includes h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-includes li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    color: var(--gray-700);
    line-height: 1.6;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.125rem;
}

.service-includes li:last-child {
    margin-bottom: 0;
}

.service-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

@media (max-width: 992px) {

    .service-item,
    .service-item-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        padding-bottom: 60px;
        direction: ltr;
    }

    .service-image {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .service-content {
        flex-direction: column;
        gap: 16px;
    }

    .service-badge {
        align-self: flex-start;
    }

    .service-image {
        height: 300px;
    }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Mission Section */
.mission-section {
    padding: 100px 0;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.mission-icon {
    flex-shrink: 0;
}

.mission-icon svg {
    stroke: var(--primary-green);
}

.mission-text h2 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Story Section */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-text {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--gray-700);
}

.story-text strong {
    color: var(--primary-green);
    font-weight: 600;
}

.story-highlight {
    background: var(--white);
    padding: 24px;
    border-left: 4px solid var(--primary-green);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.story-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.story-image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.story-image-grid img:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Coaches Section */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.coach-card {
    overflow: hidden;
    transition: all var(--transition-normal);
}

.coach-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.coach-card:hover .coach-image img {
    transform: scale(1.1);
}

.coach-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.coach-info {
    padding: 24px;
}

.coach-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.coach-role {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.coach-bio {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .coaches-grid {
        grid-template-columns: 1fr;
    }
}

/* Philosophy Section */
.philosophy-section {
    background: var(--gradient-green);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-icon {
    margin: 0 auto 24px;
    display: inline-flex;
}

.philosophy-icon svg {
    stroke: var(--white);
}

.philosophy-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.philosophy-content p {
    color: rgba(255, 255, 255, 0.95);
}

.philosophy-content .text-large {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 60px 0;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-block {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.contact-info-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-green);
    border-radius: 50%;
    color: var(--white);
}

.contact-info-block h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.contact-info-block p {
    color: var(--gray-700);
    margin-bottom: 4px;
    line-height: 1.6;
}

.contact-info-block a {
    color: var(--primary-green);
    font-weight: 500;
    transition: color var(--transition-normal);
}

.contact-info-block a:hover {
    color: var(--primary-green-dark);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-form-header p {
    color: var(--gray-600);
    margin: 0;
}

.required {
    color: #dc3545;
}

.map-section {
    margin-top: 0;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-info-block {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon {
        margin: 0 auto;
    }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */
.faq-section {
    padding: 80px 0;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 1.75rem;
    color: var(--primary-green);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-green);
}

.faq-answer-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.faq-answer-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.faq-answer-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   LEGAL PAGES STYLES (Terms & Privacy)
   ============================================ */
.page-hero-simple {
    padding: 140px 0 60px;
    background: var(--gradient-green);
    color: var(--white);
}

.page-hero-content-simple {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-content-simple h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.text-muted {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gray-200);
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h2 {
    color: var(--primary-green);
    font-size: 1.75rem;
    margin-bottom: 16px;
    margin-top: 32px;
}

.legal-block h3 {
    color: var(--gray-800);
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.legal-block p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-block ul {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.legal-block li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--gray-700);
    line-height: 1.7;
}

.legal-block li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-green);
    font-size: 1.5rem;
    line-height: 1;
}

.legal-block strong {
    color: var(--gray-900);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-hero-simple {
        padding: 120px 0 40px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .legal-block h2 {
        font-size: 1.5rem;
    }

    .legal-block h3 {
        font-size: 1.125rem;
    }
}